package com.wbsxch.shiro.mapper;

import com.wbsxch.shiro.domain.Permission;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PermissionMapper {

    int insert(Permission record);

    int delete(Long id);

    int update(Permission record);

    List<Permission> selectAll(Permission record);

    Permission selectOne(Long id);

}
